package com.zjy.org.service;

import com.zjy.basic.util.AjaxResult;
import com.zjy.org.domain.Shop;
import com.zjy.basic.service.BaseService;
import com.zjy.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ÕÅ¼Òè¤
 * @since 2022-12-14
 */
public interface ShopService extends BaseService<Shop> {

    /**
     * 注册
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 审核通过
     * @param log
     */
    void pass(ShopAuditLog log) throws MessagingException;

    /**
     * 审核驳回
     * @param log
     */
    void reject(ShopAuditLog log);

    /**
     *
     * @return
     */
    AjaxResult statistics();

    void adtive(Shop shop);
}
